//============================================================================
// Copyright (C) 2003-2013 Brett R. Jones 
// All Rights Reserved
//
// You may redistribute and/or modify for non commercial and commercial uses 
// provided this copyright notice remains in place and is not modified
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================
#ifndef PKT_FILE_CHUNK_ACK_H
#define PKT_FILE_CHUNK_ACK_H

#include "PktDefs.h"

#pragma pack(push) 
#pragma pack(1)
class PktFileChunkAck : public VxPktHdr
{
public:
    unsigned short u16Res;		// reserved for 16 byte alignment
    unsigned long u32Error;		// error if any
    unsigned long u32CurOffs;	// current offset
    char as8Arg1[ (MAX_PKT_ERR_MSG_LEN + 1) ]; //error message or argument

    PktFileChunkAck();

    void CalcPktLen( void );
};
#pragma pack(pop)


#endif //#ifndef PKT_FILE_CHUNK_ACK_H


